package com.aaa.dao;

import com.aaa.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Primary;

import java.util.List;

/**
* @author 祝云松
* @description 针对表【e_permission(左侧菜单地址)】的数据库操作Mapper
* @createDate 2023-02-24 17:28:37
* @Entity com.aaa.entity.Permission
*/

public interface PermissionDao extends BaseMapper<Permission> {

    List<Permission> selectPermissionByEmpId(@Param("id") Integer id);


    List<Permission> gettoken(@Param("ename") String username);

}




